package com.wxs.comtroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
public class TestEncoding {

    @RequestMapping("/user")
    public String test(@RequestParam("username")String username, Model model){
        model.addAttribute("username",username);
        return "formShow";
    }

}
